import { RouteRecordRaw } from "vue-router";
import { EmptyLayout } from "@scmt/common-components";
import { route as CheckEquipmentRoute } from "./check-equipment";
import { route as DicomRoute } from "./dicom";
import { route as EncodingRulesRoute } from "./encoding-rules";
import { route as EntryRoute } from "./entry";
import { route as PartRoute } from "./part";
import { route as TemplateRoute } from "./template";
import { route as ProjectRoute } from "./project";
export const routes: Array<RouteRecordRaw> = [
  {
    path: "basic",
    component: EmptyLayout,
    meta: {
      title: "基础数据",
    },
    children: [
      {
        path: "inspectionType",
        component: () => import("./inspection/type/index.vue"),
        meta: {
          title: "检查类型",
        },
      },
      CheckEquipmentRoute,
      DicomRoute,
      EncodingRulesRoute,
      EntryRoute,
      PartRoute,
      TemplateRoute,
      ProjectRoute,
    ],
  },
];
